package com.hongyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户与岗位关联表
 */
@ApiModel(description="用户与岗位关联表")
@Data
@TableName(value = "sys_user_post")
public class SysUserPost {
    /**
     * 用户ID
     */
    @TableId(type = IdType.INPUT)
    @ApiModelProperty(value="用户ID")
    private Long userId;

    /**
     * 岗位ID
     */
    @ApiModelProperty(value="岗位ID")
    private Long postId;
}